package com.shz.controller;


import com.shz.pojo.MenuOrders;
import com.shz.pojo.Orders;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author shz
 * @since 2024-07-29
 */
@Api(tags = "点菜订单模块")
@RestController
@RequestMapping("/menu-orders")
public class MenuOrdersController {
    @ApiOperation(value = "创建点菜订单")
    @PostMapping("/createOrderToCache")
    public void createOrderToCache(@RequestBody MenuOrders s){
        AliPayController2.addOrder(s);
    }
    
}

